package cuiyt.collection.arrays;

import java.util.Arrays;

/**
 * @author cyt
 * @describe arrays类的信息
 * @create 2021-01-11 11:07
 */
public class Array {
    public static void main(String[] args) {
        Integer[] arr = {1, 2, 3, 4, 5};
        Arrays.sort(arr);
        System.out.println(Arrays.binarySearch(arr, 4));





    }
}
